package cn.com.guage.dtm.metadata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.com.guage.dtm.common.annotation.Excel;
import cn.com.guage.dtm.common.core.domain.BaseEntity;

/**
 * 内置函数对象 md_function
 * 
 * @author liujun
 * @date 2021-07-08
 */
public class MdFunction extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 函数id */
    private Long functionId;

    /** 函数名称 */
    @Excel(name = "函数名称")
    private String functionName;

    /** 函数类型 */
    @Excel(name = "函数类型")
    private String functionType;

    /** JAVA类名 */
    @Excel(name = "JAVA类名")
    private String classsName;

    /** JAVA包名 */
    @Excel(name = "JAVA包名")
    private String libName;

    /** JAVA方法名 */
    @Excel(name = "JAVA方法名")
    private String methodName;

    /** 参数类型列表 */
    @Excel(name = "参数类型列表")
    private String parameterList;

    /** 返回值类型 */
    @Excel(name = "返回值类型")
    private String returnType;

    public void setFunctionId(Long functionId) 
    {
        this.functionId = functionId;
    }

    public Long getFunctionId() 
    {
        return functionId;
    }
    public void setFunctionName(String functionName) 
    {
        this.functionName = functionName;
    }

    public String getFunctionName() 
    {
        return functionName;
    }
    public void setFunctionType(String functionType) 
    {
        this.functionType = functionType;
    }

    public String getFunctionType() 
    {
        return functionType;
    }
    public void setClasssName(String classsName) 
    {
        this.classsName = classsName;
    }

    public String getClasssName() 
    {
        return classsName;
    }
    public void setLibName(String libName) 
    {
        this.libName = libName;
    }

    public String getLibName() 
    {
        return libName;
    }
    public void setMethodName(String methodName) 
    {
        this.methodName = methodName;
    }

    public String getMethodName() 
    {
        return methodName;
    }
    public void setParameterList(String parameterList) 
    {
        this.parameterList = parameterList;
    }

    public String getParameterList() 
    {
        return parameterList;
    }
    public void setReturnType(String returnType) 
    {
        this.returnType = returnType;
    }

    public String getReturnType() 
    {
        return returnType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("functionId", getFunctionId())
            .append("functionName", getFunctionName())
            .append("functionType", getFunctionType())
            .append("classsName", getClasssName())
            .append("libName", getLibName())
            .append("methodName", getMethodName())
            .append("parameterList", getParameterList())
            .append("returnType", getReturnType())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
